package com.coderman.infosys.busorder.acl;

import com.coderman.infosys.busorder.acl.req.dto.CreateProcessRequestDTO;
import com.coderman.infosys.busorder.acl.res.dto.ProcessDetail;
import com.coderman.utils.response.ResultDataDto;


/**
 * @Description:工作流服务适配接口接口
 * @Author:shenshuai
 * @CreateTime:2021-09-30 11:16:45
 * @version v1.0
 */
public interface ProcessServiceAdapter{
    /**
     *
     * @Description:提交审批单据
     * @return ResultDataDto<String>
     */
     ResultDataDto<String> startProcess(CreateProcessRequestDTO requestDto);
    /**
     *
     * @Description:通过审批流单号查看审批详情
     * @return ResultDataDto<ProcessDetail>
     */
     ResultDataDto<ProcessDetail> queryProcess(String processOrderCode);
}